package com.wjj.service;

import com.wjj.dto.ClassDTO;
import java.util.List;

/**
 * @Description
 * @Author junjun Wang
 * @Date Create in 20:17 2023/12/7
 **/
public interface ClassService {

	/**
	 * Get Classes
	 *
	 * @return
	 */
	List<ClassDTO> getClasses();

	/**
	 * Get Class By class ID
	 *
	 * @param classId
	 * @return
	 */
	ClassDTO getClassById(Integer classId);

	/**
	 * Add class
	 *
	 * @param classes
	 * @return
	 */
	Boolean addClass(List<ClassDTO> classes);

	/**
	 * Update  class
	 *
	 * @param classDTO
	 * @return
	 */
	Integer updateClass(ClassDTO classDTO);

	/**
	 * Delete class By classId
	 *
	 * @param classId
	 * @return
	 */
	Integer deleteClassById(Integer classId);
}
